<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
	<form action='${pageScope.basePath}queryVerifyCode' method="post">
		请输入手机号码：<input name="phoneNumber" AUTOCOMPLETE="OFF"><input type="submit" value="查询">
	</form>
	<table border="1">
		<thead>
			<th>手机号码</th>
			<th>短信标题</th>
			<th>短信内容</th>
			<th>发送时间</th>
		</thead>
		<tbody>
			<c:forEach items="${list}" var="l">
				<tr class="warning" onmouseover="this.style.cursor='hand'"
					onmouseout="this.style.cursor='normal'"
					style="cursor: pointer; text-align: center">
					<td style="text-align: middle;">${l.phoneNum }</td>
					<td style="text-align: middle;">${l.templetName }</td>
					<td style="text-align: middle;">${l.smsContent }</td>
					<td style="text-align: middle;">${l.sendTime }</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
</body>
</html>